<?php
/**
 * Created by PhpStorm.
 * User: fuguang
 * Date: 2018/3/21
 * Time: 上午9:36
 */
?>
<?php foreach ($news as $key => $value){ ?>
    <div class="home-item">
        <a class="item-link" href="/article-<?= $value['id'];?>.html">
            <p><?= $value['title']?></p>
            <img src="http://image.yanbing.b<?= $value['image']?>?imageView&amp;thumbnail=550x0" alt=""/>
        </a>
        <div class="item-info">
            <span class="item-time"><?= $value['ptime'];?></span>
            <span class="item-finger userhomepage" id="userhomepage-<?= $value['id'];?>" data-newsid="<?= $value['id'];?>"><?= $value['up'];?></span>
        </div>
    </div>
<?php } ?>

